/* 
 * Author: Alexander Rauser, arauser.org
 * Date: August 2008
 * Copyright: 2008
 * Licensed under Creative Commons Attribution 3.0 Unported
 */
 
package org.arauser.uploader.controller
{
	
	import org.arauser.uploader.model.SettingsProxy;
	
	import org.puremvc.as3.patterns.command.MacroCommand;

	public class StartupCommand extends MacroCommand
	{
		// Initialize the MacroCommand by adding its subcommands.
		override protected function initializeMacroCommand() : void
		{
			
			// Make the settings proxy available to our application
			facade.registerProxy( new SettingsProxy() );    
          
			addSubCommand( ViewPrepCommand );
			addSubCommand( LoadSettingsCommand );
			
		}
		
	}
}